textview: scroll insert onscreen after undo/redo
authorChristian Hergert <chergert@redhat.com>
Sun, 26 Dec 2021 20:56:42 +0000 (12:56 -0800)
committerChristian Hergert <chergert@redhat.com>
Sun, 26 Dec 2021 20:56:42 +0000 (12:56 -0800)
commit344ad0355efa35f80b3c4a597e91a5fe3f438eed
treea07845fe44865b5775df0b41ab1721cc0fcc7fdb
parente7871fbc433fad592e227ead834346aa3db8a235
textview: scroll insert onscreen after undo/redo

After performing an action such as undo/redo, we need to actually scroll
to the position where the operation occurred.

I do note that the scroll here seems to often get invalidated if it is
pages away, and we never make the full scroll. But I've seen this all over
the place elsewhere too and that needs to be handled, most likely, as a
more comprehensive fix for scrolling during line validation.

Related #4575
gtk/gtktextview.c